package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumierePayMemberUser;
import org.linlinjava.litemall.db.domain.LumierePayMemberUserExample;

public interface LumierePayMemberUserMapper extends MPJBaseMapper<LumierePayMemberUser> {
    long countByExample(LumierePayMemberUserExample example);

    int deleteByExample(LumierePayMemberUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumierePayMemberUser record);

    int insertSelective(LumierePayMemberUser record);

    LumierePayMemberUser selectOneByExample(LumierePayMemberUserExample example);

    LumierePayMemberUser selectOneByExampleSelective(@Param("example") LumierePayMemberUserExample example, @Param("selective") LumierePayMemberUser.Column ... selective);

    List<LumierePayMemberUser> selectByExampleSelective(@Param("example") LumierePayMemberUserExample example, @Param("selective") LumierePayMemberUser.Column ... selective);

    List<LumierePayMemberUser> selectByExample(LumierePayMemberUserExample example);

    LumierePayMemberUser selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumierePayMemberUser.Column ... selective);

    LumierePayMemberUser selectByPrimaryKey(Integer id);

    LumierePayMemberUser selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumierePayMemberUser record, @Param("example") LumierePayMemberUserExample example);

    int updateByExample(@Param("record") LumierePayMemberUser record, @Param("example") LumierePayMemberUserExample example);

    int updateByPrimaryKeySelective(LumierePayMemberUser record);

    int updateByPrimaryKey(LumierePayMemberUser record);

    int logicalDeleteByExample(@Param("example") LumierePayMemberUserExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}